home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr13
/
golisp.zip
/
TXSIZE.LSP
< prev
next >
Wrap
Text File
|
1995-01-20
|
623b
|
24 lines
;Globally changes the height of all text selected
;Bob Zelna
(defun c:TXSIZE (/ ss txsize n index ent type oldsize newsize ent1)
(setq ss (ssget))
(setq txsize (getdist "\nEnter NEW text size"))
(setq n (sslength ss))
(setq index 0)
(repeat n
(setq ent (entget (ssname ss index)))
(setq index (+ 1 index))
(setq type (assoc 0 ent))
(if (= "TEXT" (cdr type))
(progn
(setq oldsize (assoc 40 ent))
(setq newsize (cons (car oldsize) txsize))
(setq ent1 (subst newsize oldsize ent))
(entmod ent1)
)
)
)
(princ1)
)